/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package egovxf.dao;

import java.util.List;
import java.util.Map;

public interface CommonDAO {

    int update(String sqlID, Object bindParams);
    int delete(String sqlID, Object bindParams);
    Object insert(String sqlID, Object bindParams);
    <E> E select(String sqlID, Object bindParams, Class clazz);   
    <E> List<E> list(String sqlID, Object bindParams);
    int count(String sqlID, Object bindParams);
    Map<String, Object> select(String sqlID, Object bindParams);
    List<Map<String, Object>> mlist(String sqlID, Object bindParams);
     
    int update(Object bindParams);
    int delete(Object bindParams);
    Object insert(Object bindParams);
    <E> E select(Object bindParams, Class clazz);  
    <E> List<E> list(Object bindParams);
    int count(Object bindParams);
    Map<String, Object> select(Object bindParams);
    List<Map<String, Object>> mlist(Object bindParams);
   
}
